#ifndef CUSTOMSQLMODEL_H
#define CUSTOMSQLMODEL_H

#include <QSqlTableModel>

class CustomSqlModel : public QSqlTableModel
{
    Q_OBJECT

public:
    explicit CustomSqlModel(QObject *parent = Q_NULLPTR, QSqlDatabase db = QSqlDatabase());
    virtual ~CustomSqlModel();

    QVariant data(const QModelIndex &index, int role) const override;
};

#endif // CUSTOMSQLMODEL_H
